]> dgit.raspbian.org Git - gnome-shell.git/commit
workspace: Take a MetaWindow as argument to setReservedSlot()
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 3 Sep 2014 14:03:24 +0000 (16:03 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 11 Sep 2014 22:57:40 +0000 (00:57 +0200)
commitb886656f61150953c286de6fefdc85113bb375dd
tree8058df26098224178da591ba982afee977ed5841
parent8589bfb62ea4fa494bba99f1a58bf648bedbaacc
workspace: Take a MetaWindow as argument to setReservedSlot()

And use it to lookup the local WindowClone that applies. Otherwise,
WorkspaceThumbnail.WindowClone objects may be mistakenly set, which
are not usable interchangeably with Workspace.WindowClone ones. This
may lead to several misbehaviors as fields available in the second
object but not in the first one are accessed, some those undefined
values get used in math ops, which result in NaNs over the place.

Likewise, the similar functions in WorkspacesViewBase subclasses take
now MetaWindow arguments too.

https://bugzilla.gnome.org/show_bug.cgi?id=735972
js/ui/workspace.js
js/ui/workspacesView.js